{extend name="public/base"}

{block name="title"}就行天下-交易明细{/block}

{block name="style"}
<link rel="stylesheet" href="__STATIC__/home/css/set.css" />

{/block}

{block name="main"}
<div class="pageControl bg-f5">
    <div class="main-top"></div>
    <div class="msui_nav msui_navTop">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">交易明细</h1>
        <a href="" class="msui_navTop-right msui_navTop-cnav"><i class="micon-cnav"></i></a>
    </div>
    {volist name="data" id="vo"}
    <a href="{:url('trading', ['id' => $vo.id])}" class="weui-cell ftAbsolute">
        <div class="weui-cell__bd">
            <p class="fs075 {gt name='vo.money' value='0'}cl-31a{else /}cl-e51{/gt}">{$vo.money}</p>
            <p class="fs06">{$vo.type}</p>
        </div>
        <div class="weui-cell__ft">
            <p class="fs065 cl-9999">{$vo.create_time|date="Y-m-d H:i:s", ###}</p>
            <p class="cl-c40 fs065">
                {switch name="vo.withdraw_status"}
                    {case value="已申请"}<span class="cl-199">{/case}
                    {case value="已审核"}<span class="cl-31a">{/case}
                    {case value="审核失败"}<span class="cl-e51">{/case}
                    {default /}
                {/switch}
                {$vo.withdraw_status}</span>
            </p>
        </div>
    </a>
    {/volist}
</div>
{/block}

{block name="javascript"}
{/block}